-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add Harvester to workspace kubeconfig #7456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
3 similar comments
|
|
|
|
|
2 similar comments
|
|
|
985843b
to
883d56f
Compare
|
Code looks good and works like a charm :-D /lgtm |
LGTM label has been added. Git tree hash: 91a0186f6ed642c1954cdd9bc8200b000acf0776
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: meysholdt Associated issue: #7469 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
This extends our workspace tasks to updates the workspace kubeconfig to also include a context for Harvester. This will give all Gitpod developers easy access to the Harvester clusters through
kubectx
.Related Issue(s)
Fixes #7469
How to test
Unfortunately testing this is a bit manual right now due to a bug in our incremental prebuild (see #7475). So the best you can do is start a workspace and run the script and verify that kubectx shows harvester as well as dev:
I tested the behaviour of the script for users who don't have core-dev access by creating another GitHub user and running the script. I got the following output:
Release Notes
Documentation
N/A